package com.topscore.uke.mvp.contractors;

import com.topscore.uke.entities.CommodityData;
import com.topscore.uke.mvp.BaseContractor;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.BaseResponse;

import java.util.List;

/**
 * Created by 71468 on 2018/3/13.
 */

public interface GetCommodityPageDataContractor extends BaseContractor {
    interface View extends
            BaseView {
        void onGetDataSuccess(List<CommodityData> dataList);
    }

    interface Model {
        void getCommodityData();
    }

    interface Presenter {
        void getCommodityData();
    }

    interface Listener extends BaseHttpListener {
        void onGetDataSuccess(BaseResponse<List<CommodityData>> response);
    }
}
